package com.markedquilt.solution.entity;
/*
 * PackageName: com.markedquilt.solution.entity
 * ClassName:   ListNode
 * Author:   zhang
 * Date:     Created in 2020/10/22
 * Description:
 * History:
 * <author>        <time>             <version>          <desc>
 * 作者姓名         修改时间            版本号              描述
 * zhang           2020/10/22      1.0
 */

import lombok.Data;

/**
 * Title:
 * Project: LeetcodeProblem
 *
 * @author ZhangKe
 * Created on 2020/10/22
 */
@Data
public class ListNode {

      int val;

      public ListNode next;

      public ListNode(int x) {
          val = x;
          next = null;
      }

    @Override
    public String toString() {
        return "ListNode{" +
                "val=" + val +
                '}';
    }
}
